SftTree/NET 2.0

ItemImageArea Property, SftTree Class

Softel vdm, Inc.

Returns the size of the area reserved for each item's item image.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property ItemImageArea As Size

C#   

public Size ItemImageArea { get; set; }

C++   

public: property Size ItemImageArea {
        Size get();
        void set(Size value);
}

Property Value

The size of the area reserved for each item's item image.

The default value is Size.0, 0.

Comments

The ItemImageArea property returns the size of the area reserved for each item's item image.

When default item images are defined using the ItemExpandableImage, ItemExpandedImage, ItemLeafImage or when item images are defined using ItemClass.Image, the ItemImageArea property is automatically updated to reserve sufficient space for any of the images used.

In addition to the space defined using the ItemImageArea, additional space is reserved around the item image using the Dimensions.BeforeIconPart and Dimensions.AfterIconPart properties.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com